package a.f.d.a;

import a.c.ab;
import a.d.w;

abstract class db
  implements wc
{
  protected double a = 0.0D;
  protected double b = 10.0D;
  protected double c = 20.0D;
  protected double d = 0.0D;
  protected double e = 10.0D;
  protected double f = 0.0D;
  protected double g;
  protected double h;
  private double i;
  private double j;
  private ab k;
  
  public db()
  {
    i();
  }
  
  public double g()
  {
    int m = a();
    if (m < 1) {
      return this.d;
    }
    return this.d + this.f + (m - 1) * this.e;
  }
  
  public double e()
  {
    int m = a();
    if (m < 1) {
      return this.a;
    }
    return this.a + this.c + (m - 1) * this.e;
  }
  
  public double h()
  {
    int m = a();
    if (m < 1) {
      return this.d;
    }
    return this.d + this.f + (m - 1) * this.e + this.g;
  }
  
  public double f()
  {
    int m = a();
    if (m < 1) {
      return this.a;
    }
    return this.a + this.c + (m - 1) * this.b + this.h;
  }
  
  public void i()
  {
    this.i = (this.d + this.f);
    this.j = (this.a + this.c);
  }
  
  public double d()
  {
    double d1 = this.i;
    this.i += this.e;
    return d1;
  }
  
  public double c()
  {
    double d1 = this.j;
    this.j += this.b;
    return d1;
  }
  
  public void f(double paramDouble)
  {
    this.f = paramDouble;
    i();
  }
  
  public void b(double paramDouble)
  {
    this.c = paramDouble;
    i();
  }
  
  public void e(double paramDouble)
  {
    this.d = paramDouble;
    i();
  }
  
  public void h(double paramDouble)
  {
    this.e = (this.g = paramDouble);
    i();
  }
  
  public void g(double paramDouble)
  {
    this.g = paramDouble;
    i();
  }
  
  public void a(double paramDouble)
  {
    this.a = paramDouble;
    i();
  }
  
  public void d(double paramDouble)
  {
    this.b = (this.h = paramDouble);
    i();
  }
  
  public void c(double paramDouble)
  {
    this.h = paramDouble;
    i();
  }
  
  public void a(a.c.d paramd)
  {
    b().b(paramd);
  }
  
  public int a()
  {
    return (d.R) || (this.k != null) ? this.k.size() : 0;
  }
  
  public ab b()
  {
    if (!d.R) {
      if (this.k == null) {
        this.k = new ab();
      }
    }
    return this.k;
  }
  
  public w a(double paramDouble1, double paramDouble2)
  {
    return new w(c(paramDouble1, paramDouble2), d(paramDouble1, paramDouble2));
  }
  
  public void b(a.c.d paramd)
  {
    b().a(paramd);
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.d.a.db
 * JD-Core Version:    0.7.0.1
 */